<script>
	export default {
		globalData: {
		          // requestUrl: 'https://test.www.itclass99.com',
				  requestUrl: 'https://www.xfzsb.com',
				  imgUrl:'https://xfzsb.com/static/image/'
	  },
		onLaunch: function() {
			// console.log('App Launch')
			// #ifdef MP-WEIXIN
					let capsuleH = uni.getMenuButtonBoundingClientRect().height
					uni.getSystemInfo({
						success: function(res) {
							uni.setStorageSync('titleHeight',res.statusBarHeight+capsuleH)
							 uni.setStorageSync('batHeight',res.statusBarHeight)
						}
					});
			// #endif
			// #ifdef APP-PLUS
				uni.setStorageSync('titleHeight',50)
				 uni.setStorageSync('batHeight',uni.getSystemInfoSync().statusBarHeight)
			// #endif
			// uni.switchTab({
			// 	url:'./pages/tabbar/home'
			// })
			// uni.navigateTo({
			// 	url:'./pages/detection/seedDetectionList/seedDetectionList'
			// })
			// uni.navigateTo({
			// 	url:'./pages/index/login/login'
			// })
		},
		onShow: function() {
			console.log('App Show')


		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>
<style>
	/* @import '@/static/iconfont/iconfont.css'; */
</style>
<style lang="scss">
	@import "uview-ui/index.scss";
	// @import './asset/scss/style.scss';
	// .sh_b{
		
	// 	box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(0,0,0,0.1);
	// }
	/*每个页面公共css */
	
</style>
